import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入适配
import 'amfe-flexible'
// 导入vant组件
import './utils/vant'
// 导入全局样式
import './styles/base.less'
// 处理时间
import moment from 'moment'
// 时间中文
moment.locale('zh-cn')
Vue.filter('fromNow', (time) => moment(time).fromNow())
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
